<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <link href="files/css/fitnesse.css" rel="stylesheet" type="text/css" />

    <title>Running Total for Basic Purchases</title>
  </head>

  <body>	<link rel="stylesheet" type="text/css" href="files/css/fitnesse.css" media="screen"/>
	<link rel="stylesheet" type="text/css" href="files/css/fitnesse.css" media="print"/>
<h1>Running Total for Basic Purchases</h1>
    <table border="0"
      cellpadding="">
      <tr>
        <td colspan="3">Given the following products</td>
      </tr>

      <tr>
        <td>Name</td>

        <td>Barcode</td>

        <td>Unit Price</td>
      </tr>

      <tr>
        <td>Milk</td>

        <td>11111111</td>

        <td>0.50</td>
      </tr>

      <tr>
        <td>Cheese</td>

        <td>22222222</td>

        <td>1.00</td>
      </tr>

      <tr>
        <td>Bread</td>

        <td>33333333</td>

        <td>0.75</td>
      </tr>
    </table><table border="0">
      <tr>
        <td>Given the checkout has been initialised</td>
      </tr>
    </table>
    
    <table border="0">
      <tr>
        <td colspan="2">The customer purchases</td>
      </tr>
      <tr>
        <td>Product</td>
        <td>Displayed()</td>
      </tr>
      <tr>
        <td>Milk</td>
        <td class="pass">Total = 0.50</td>
      </tr>

      <tr>
        <td>Cheese</td>
        <td class="pass">Total = 1.50</td>
      </tr>

      <tr>
        <td>Milk</td>
        <td class="pass">Total = 2.00</td>
      </tr>

      <tr>
        <td>Bread</td>
        <td class="pass">Total = 2.75</td>
      </tr>
    </table>
  </body>
</html>
